SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '29b22d4bffdd42618f4f3f70c34b977c18d9289080b6b2d7d3c4b8d300b2400d' 
  AND token = 'hiwK4CCMmSs7Cdlb9Tj2sEfn9XLy21Hgiqjhml8p1F0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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