SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c24798834c55383b5165e3dde4ba6593b8a938acf1b3132078b7ff81991ca77d' 
  AND token = '8BV0RwEe/9xdKQJ+1u+/vPYRKPnU6bdoVI80I9WClpA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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