SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2b0a1597f1bc170948ee19e4b6e4b6922a17478116349ae56a3dad20fa88278a' 
  AND token = 'iyhGEXzkeEABJz23Ytacrrb+cI9PnaxfGQ3HwK1Df6E=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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