SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd4c7f9f77f1122d56638abf574f254aa5d945b98878b92e88e47f2ad9e4d52b8' 
  AND token = 'nRSdws5upOSoh+PDo1Eti7v1tBgqluFMejo92c0COSg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00014

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}