SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd3dc0be162bd4947b22a3f5d6c84767afa4050f4541629329ec6363f31b0c866' 
  AND token = 'scTVfNzsg0UlsU/lmP5D2fap9+LviyavrQUXoouFGK4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00052

JSON explain

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