SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ac041577dc54fca642d392a3853ece2d169f692f37823c2244a151cebb40a3c3' 
  AND token = 'c5ccUx2fyHLGasueGhzrdyZCJloj5GQFYr81+/9Diec=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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