SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a313cab6bd812bb34fe48898e47f040649d0b0604a7155f2f251697008f654c6' 
  AND token = 'Gw5L2L5kebP+GX7z8x059wMaZpix44aIRRj8bprRAhY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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