SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6b071cc7112a4e7cbd0329b685b4d904b1f229fb669fc09e924f655a77270552' 
  AND token = 'xWOBfXXyqyIqyIu1l4jr3mFEk1frV0tj4eqsFWxW4UQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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