SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9d07bcfdafbc27d9d0dd2f987ed35e48441bae0cb01650580a300755c4835eb5' 
  AND token = 'EuFD5CRgUfuu5q8EHj46mz8Qf/G0Y2hN+T+Bn4cWiuI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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