SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '311d99fef61657c107886f9aa1a9cf05ab44c1ed180bef5fd8e409b6b122c81f' 
  AND token = '6LPiWuXnupfHd+bMy5/bdJWRegDTfaXQzmbbgmX4Xgo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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