SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '237be74cb4aa6d9729e66967d564844e21b5c173a8376744bf224425f2006b17' 
  AND token = 'ou+vUyB5gUdk8qJZ6U9KEtBXOOk+p5mHLxyJTO51png=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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