SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cc96ea10ab71333b84154b2371894db0ebb7639e6d455d58b92d59701a2b8547' 
  AND token = 'k2gssxZWxd+kblJv7H/StBlWkdCdu86uyZOfn0gKxhs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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