SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c077f3db66b7ddf7c64ed7d34db90ba1226d93b382210c267de64d546de58c50' 
  AND token = 'T4aR1QiYVMvX0Qd8Xo2xR1nTVW2y8xevFJ2RjUAn3vk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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