SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'affb03e70c3dcb58eb271d59a3e97e52ac0de1f3c6ab7a2b27cb3fc7c35b3fa3' 
  AND token = 'X7knEt6U4r4xUa5k3IlHQPpecgFCBIMxFQfC7K/5Ms4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00054

JSON explain

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