SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cb3158a35538d7dc35221c788b94ea3dda8b5ddcb195ad00d3ca885998781673' 
  AND token = 'pbzzbyJWwdk2n2j8ZFsjQQPnwqyJWoMKjsv1h/wTJd8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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