SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9d9ddd9de17b17997932825515e3ae7206d462624418184fed5276d8ad9296c8' 
  AND token = 'pxN5fdhHCRMDxdyZnJsHMA1DXIf+v6+kvqIoxA592W4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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