SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd412c32a2d12f269c71b20d233a0662bdaa56ee716ff2ef8d43bb993b451a5b6' 
  AND token = 'Dc45bgT3FSJFP/6akH6NO63oPch7zbXrn2JUO7ApTLU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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