SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7ef5464edb157af2db8a32bd424343a1613c35162fe82d3921e2116670077a71' 
  AND token = '5pvg4nVuBKrdNzyLyBTU6i4viavI32wjh3G62QrlHp0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00022

JSON explain

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