SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '50a27970cc2e687405ca88da6a0366ac9e80a8bbaf31439613618bb59f6a759b' 
  AND token = 'KGlP1gNYvdztN2HutgKViICtksbDsAAM5sz1Rynq1R4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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