SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bba99fa1e2ab029df4e8150946900041d27efe3f7ec76458b0e05d3ec9254e1f' 
  AND token = 'FkNI+bjbhgXXVbizk6/8i4Py9fXZCESioH/eI1m6oLQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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