SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f07e24456540e4a5d4b0fb768f31a569af34461e0f91d55a754ddb10c8aa6df7' 
  AND token = 'KcEJJO0byYYCguiw+2kCUJl3so+Bpu1cpzo3s4Yiwt0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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