SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '830f67f591266250f3eafcbdf120565041ef8cb1050a0586b40ddcddd7a9915d' 
  AND token = 'mA8i/x39TOifuHWQfEG02ROBXxPE0m3w8tORGPbYo3g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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