SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5c1be8970cf90c359502a62319598d4036166607a291716bc9fc8b2892d0e0ba' 
  AND token = 'hRNt3xAujVI1l/dJ32Bx60ecVF5bYxPYKHI7BZI9ges=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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