SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b9a98bfd1f0a0f0c1cf72dc5cd9e137f155bbe64342eaf767855cfa77acc6271' 
  AND token = '5JcvUB+DNzMV7f00WRLOkCxa+HCZzA1flS+gB457YTE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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